package com.hey.qrcode.dao;

import com.hey.qrcode.entity.SysMember;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;
import org.apache.ibatis.annotations.Select;

@Mapper
public interface SysDao {


    /**
     * 管理员登录
     * @param sysName
     * @param sysPass
     * @return
     */
    @Select("select * from sys_member where sys_name=#{sysName} and sys_pass=#{sysPass}")
    SysMember login(@Param("sysName")String sysName,@Param("sysPass")String sysPass);

}
